<?php
class HomeController extends Controller {
    public function index() {
        $data = [
            'title' => '首页',
            'message' => '欢迎使用基于服务容器的MVC框架'
        ];
        
        $this->render('home/index', $data);
    }
}
?>